package com.flying.admin.manage;

import com.flying.framework.annotation.MethodInfo;
import com.flying.framework.annotation.Param;
import com.flying.framework.annotation.Service;
import com.flying.framework.data.Data;

@Service(value="manage", desc="管理（安装/卸载）远程模块")
public class ManageService {
	
	@MethodInfo("安装模块")
	public Data install(
			@Param(value="appId", required=true, desc="应用ID") String appId,
			@Param(value="moduleId", required=true, desc="模块ID") String moduleId,
			@Param(value="url", required=true, desc="模块安装文件URL") String url) throws Exception {
		return null;
	}
	
	@MethodInfo("卸载模块")
	public Data uninstall(
			@Param(value="appId", required=true, desc="应用ID") String appId,
			@Param(value="moduleId", required=true, desc="模块ID") String moduleId) throws Exception {
		return null;
	}
}
